package com.woniuxy.dao;

import com.woniuxy.pojo.Permission;
import com.woniuxy.vo.IndexListVo;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface PermissionMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Permission record);

    int insertSelective(Permission record);

    Permission selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Permission record);

    int updateByPrimaryKey(Permission record);

    List<Permission> selectpermissionBypid(Integer uid);

   List< Permission> selectNumByuid(List<Integer> keys);
}